how to get year in react

145

how to get year in react -

getYear() {
    return new Date().getFullYear();
}

Comments

Submit
0 Comments